home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Software Dispatch
/
Apple Software Dispatch.iso
/
Software Dispatch Files
/
Super Munchers
/
Sample Application
/
Sample Application.rsrc
/
CODE_8_ending.txt
< prev
next >
Wrap
Text File
|
1993-06-23
|
23KB
|
431 lines
# near model CODE resource
# jump table entries: 1680-1684 (5 of them)
export_210:
00000000 4E56 0000 link A6, 0
00000004 4878 07E1 push.l 0x7E1
00000008 4EBA 0156 jsr [PC + 0x156 /* 00000160 */]
0000000C 4E5E unlink A6
0000000E 4E75 rts
export_211:
00000010 4E56 FF00 link A6, -0x0100
00000014 48E7 0308 movem.l -[A7], D6,D7,A4
00000018 1C2E 000B move.b D6, [A6 + 0xB]
0000001C 49EE FF00 lea.l A4, [A6 - 0x100]
00000020 4A2D DC9A tst.b [A5 - 0x2366]
00000024 6600 0120 bne +0x122 /* 00000146 */
00000028 4A6D DC9E tst.w [A5 - 0x2362]
0000002C 6600 0118 bne +0x11A /* 00000146 */
00000030 302D D338 move.w D0, [A5 - 0x2CC8]
00000034 48C0 ext.l D0
00000036 2F00 move.l -[A7], D0
00000038 4EAD 0182 jsr [A5 + 0x182 /* export_44 */]
0000003C 0CAD 000F 4240 DBEE cmpi.l [A5 - 0x2412], 0xF4240
00000044 584F addq.w A7, 4
00000046 6F08 ble +0xA /* 00000050 */
00000048 2B7C 000F 4240 DBEE move.l [A5 - 0x2412], 0xF4240
label00000050:
00000050 2F2D DBEE move.l -[A7], [A5 - 0x2412]
00000054 4EAD 01AA jsr [A5 + 0x1AA /* export_49 */]
00000058 3E00 move.w D7, D0
0000005A 0C47 FFFF cmpi.w D7, 0xFFFF
0000005E 584F addq.w A7, 4
00000060 6F00 0096 ble +0x98 /* 000000F8 */
00000064 0CAD 000F 4240 DBEE cmpi.l [A5 - 0x2412], 0xF4240
0000006C 660E bne +0x10 /* 0000007C */
0000006E 2F0C move.l -[A7], A4
00000070 4878 07D9 push.l 0x7D9
00000074 4EBA 0164 jsr [PC + 0x164 /* 000001DA */]
00000078 504F addq.w A7, 8
0000007A 601E bra +0x20 /* 0000009A */
label0000007C:
0000007C 4A47 tst.w D7
0000007E 660E bne +0x10 /* 0000008E */
00000080 2F0C move.l -[A7], A4
00000082 4878 07D8 push.l 0x7D8
00000086 4EBA 0152 jsr [PC + 0x152 /* 000001DA */]
0000008A 504F addq.w A7, 8
0000008C 600C bra +0xE /* 0000009A */
label0000008E:
0000008E 2F0C move.l -[A7], A4
00000090 4878 07D7 push.l 0x7D7
00000094 4EBA 0144 jsr [PC + 0x144 /* 000001DA */]
00000098 504F addq.w A7, 8
label0000009A:
0000009A 7000 moveq.l D0, 0x00
0000009C 1014 move.b D0, [A4]
0000009E 0C00 0019 cmpi.b D0, 0x19
000000A2 6304 bls +0x6 /* 000000A8 */
000000A4 18BC 0019 move.b [A4], 0x19
label000000A8:
000000A8 2F0C move.l -[A7], A4
000000AA 4EBA 01BC jsr [PC + 0x1BC /* 00000268 */]
000000AE 7000 moveq.l D0, 0x00
000000B0 1014 move.b D0, [A4]
000000B2 4A80 tst.l D0
000000B4 584F addq.w A7, 4
000000B6 660E bne +0x10 /* 000000C6 */
000000B8 2F0C move.l -[A7], A4
000000BA 3F3C 0FA0 move.w -[A7], 0xFA0
000000BE 7002 moveq.l D0, 0x02
000000C0 3F00 move.w -[A7], D0
000000C2 4EAD 034A jsr [A5 + 0x34A /* export_101 */]
label000000C6:
000000C6 302D D338 move.w D0, [A5 - 0x2CC8]
000000CA 48C0 ext.l D0
000000CC 2F00 move.l -[A7], D0
000000CE 4EAD 019A jsr [A5 + 0x19A /* export_47 */]
000000D2 2F0C move.l -[A7], A4
000000D4 302D DBD2 move.w D0, [A5 - 0x242E]
000000D8 48C0 ext.l D0
000000DA 2F00 move.l -[A7], D0
000000DC 2F2D DBEE move.l -[A7], [A5 - 0x2412]
000000E0 4EAD 0172 jsr [A5 + 0x172 /* export_42 */]
000000E4 4EAD 017A jsr [A5 + 0x17A /* export_43 */]
000000E8 486D DBD4 pea.l [A5 - 0x242C]
000000EC 2F0C move.l -[A7], A4
000000EE 4EAD 0082 jsr [A5 + 0x82 /* export_12 */]
000000F2 4FEF 0018 lea.l A7, [A7 + 0x18]
000000F6 604E bra +0x50 /* 00000146 */
label000000F8:
000000F8 4AAD DBEE tst.l [A5 - 0x2412]
000000FC 6F48 ble +0x4A /* 00000146 */
000000FE 0CAD 0000 00C8 DBEE cmpi.l [A5 - 0x2412], 0xC8
00000106 6C10 bge +0x12 /* 00000118 */
00000108 4A06 tst.b D6
0000010A 660C bne +0xE /* 00000118 */
0000010C 4878 07DA push.l 0x7DA
00000110 4EBA 0090 jsr [PC + 0x90 /* 000001A2 */]
00000114 584F addq.w A7, 4
00000116 602E bra +0x30 /* 00000146 */
label00000118:
00000118 0CAD 0000 03E7 DBEE cmpi.l [A5 - 0x2412], 0x3E7
00000120 6C10 bge +0x12 /* 00000132 */
00000122 4A06 tst.b D6
00000124 660C bne +0xE /* 00000132 */
00000126 4878 07DB push.l 0x7DB
0000012A 4EBA 0076 jsr [PC + 0x76 /* 000001A2 */]
0000012E 584F addq.w A7, 4
00000130 6014 bra +0x16 /* 00000146 */
label00000132:
00000132 0CAD 0000 03E8 DBEE cmpi.l [A5 - 0x2412], 0x3E8
0000013A 6D0A blt +0xC /* 00000146 */
0000013C 4878 07DC push.l 0x7DC
00000140 4EBA 0060 jsr [PC + 0x60 /* 000001A2 */]
00000144 584F addq.w A7, 4
label00000146:
00000146 4CEE 10C0 FEF4 movem.l D6,D7,A4, [A6 - 0x10C]
0000014C 4E5E unlink A6
0000014E 4E75 rts
export_212:
00000150 4E56 0000 link A6, 0
00000154 4878 07D6 push.l 0x7D6
00000158 4EBA 0006 jsr [PC + 0x6 /* 00000160 */]
0000015C 4E5E unlink A6
0000015E 4E75 rts
fn00000160:
00000160 4E56 FFFE link A6, -0x0002
00000164 2F0C move.l -[A7], A4
00000166 302E 000A move.w D0, [A6 + 0xA]
0000016A 48C0 ext.l D0
0000016C 2F00 move.l -[A7], D0
0000016E 4EAD 0102 jsr [A5 + 0x102 /* export_28 */]
00000172 2840 movea.l A4, D0
00000174 7004 moveq.l D0, 0x04
00000176 2F00 move.l -[A7], D0
00000178 7201 moveq.l D1, 0x01
0000017A 2F01 move.l -[A7], D1
0000017C 2F0C move.l -[A7], A4
0000017E 4EAD 00F2 jsr [A5 + 0xF2 /* export_26 */]
00000182 7000 moveq.l D0, 0x00
00000184 2F00 move.l -[A7], D0
00000186 486E FFFE pea.l [A6 - 0x2]
0000018A A991 syscall ModalDialog
0000018C 2F0C move.l -[A7], A4
0000018E A983 syscall DisposeDialog
00000190 7001 moveq.l D0, 0x01
00000192 B06E FFFE cmp.w D0, [A6 - 0x2]
00000196 57C0 seq D0
00000198 4400 neg.b D0
0000019A 286E FFFA movea.l A4, [A6 - 0x6]
0000019E 4E5E unlink A6
000001A0 4E75 rts
fn000001A2:
000001A2 4E56 FFFE link A6, -0x0002
000001A6 2F0C move.l -[A7], A4
000001A8 302E 000A move.w D0, [A6 + 0xA]
000001AC 48C0 ext.l D0
000001AE 2F00 move.l -[A7], D0
000001B0 4EAD 0102 jsr [A5 + 0x102 /* export_28 */]
000001B4 2840 movea.l A4, D0
000001B6 7003 moveq.l D0, 0x03
000001B8 2F00 move.l -[A7], D0
000001BA 7201 moveq.l D1, 0x01
000001BC 2F01 move.l -[A7], D1
000001BE 2F0C move.l -[A7], A4
000001C0 4EAD 00F2 jsr [A5 + 0xF2 /* export_26 */]
000001C4 7000 moveq.l D0, 0x00
000001C6 2F00 move.l -[A7], D0
000001C8 486E FFFE pea.l [A6 - 0x2]
000001CC A991 syscall ModalDialog
000001CE 2F0C move.l -[A7], A4
000001D0 A983 syscall DisposeDialog
000001D2 286E FFFA movea.l A4, [A6 - 0x6]
000001D6 4E5E unlink A6
000001D8 4E75 rts
fn000001DA:
000001DA 4E56 FFF2 link A6, -0x000E
000001DE 2F0C move.l -[A7], A4
000001E0 302E 000A move.w D0, [A6 + 0xA]
000001E4 48C0 ext.l D0
000001E6 2F00 move.l -[A7], D0
000001E8 4EAD 0102 jsr [A5 + 0x102 /* export_28 */]
000001EC 2840 movea.l A4, D0
000001EE 7005 moveq.l D0, 0x05
000001F0 2F00 move.l -[A7], D0
000001F2 7201 moveq.l D1, 0x01
000001F4 2F01 move.l -[A7], D1
000001F6 2F0C move.l -[A7], A4
000001F8 4EAD 00F2 jsr [A5 + 0xF2 /* export_26 */]
000001FC 2F0C move.l -[A7], A4
000001FE 7002 moveq.l D0, 0x02
00000200 3F00 move.w -[A7], D0
00000202 486E FFF6 pea.l [A6 - 0xA]
00000206 486E FFF2 pea.l [A6 - 0xE]
0000020A 486E FFF8 pea.l [A6 - 0x8]
0000020E A98D syscall GetDialogItem/GetDItem
00000210 302E FFFE move.w D0, [A6 - 0x2]
00000214 48C0 ext.l D0
00000216 322E FFFA move.w D1, [A6 - 0x6]
0000021A 48C1 ext.l D1
0000021C 9081 sub.l D0, D1
0000021E 5140 subq.w D0, 8
00000220 3B40 D898 move.w [A5 - 0x2768], D0
00000224 426E FFF6 clr.w [A6 - 0xA]
00000228 4FEF 0010 lea.l A7, [A7 + 0x10]
0000022C 600A bra +0xC /* 00000238 */
label0000022E:
0000022E 486D 06D2 pea.l [A5 + 0x6D2 /* export_214 */]
00000232 486E FFF6 pea.l [A6 - 0xA]
00000236 A991 syscall ModalDialog
label00000238:
00000238 4A6E FFF6 tst.w [A6 - 0xA]
0000023C 67F0 beq -0xE /* 0000022E */
0000023E 2F0C move.l -[A7], A4
00000240 7002 moveq.l D0, 0x02
00000242 3F00 move.w -[A7], D0
00000244 486E FFF6 pea.l [A6 - 0xA]
00000248 486E FFF2 pea.l [A6 - 0xE]
0000024C 486E FFF8 pea.l [A6 - 0x8]
00000250 A98D syscall GetDialogItem/GetDItem
00000252 2F2E FFF2 move.l -[A7], [A6 - 0xE]
00000256 2F2E 000C move.l -[A7], [A6 + 0xC]
0000025A A990 syscall GetDialogItemText/GetIText
0000025C 2F0C move.l -[A7], A4
0000025E A983 syscall DisposeDialog
00000260 286E FFEE movea.l A4, [A6 - 0x12]
00000264 4E5E unlink A6
00000266 4E75 rts
fn00000268:
00000268 4E56 0000 link A6, 0
0000026C 48E7 0108 movem.l -[A7], D7,A4
00000270 286E 0008 movea.l A4, [A6 + 0x8]
00000274 7E00 moveq.l D7, 0x00
00000276 1E14 move.b D7, [A4]
00000278 4A87 tst.l D7
0000027A 6016 bra +0x18 /* 00000292 */
label0000027C:
0000027C 7000 moveq.l D0, 0x00
0000027E 1034 7000 move.b D0, [A4 + D7.w]
00000282 0C40 0020 cmpi.w D0, 0x20 /* ' ' */
00000286 660E bne +0x10 /* 00000296 */
00000288 4234 7000 clr.b [A4 + D7.w]
0000028C 5314 subq.b [A4], 1
0000028E 3007 move.w D0, D7
00000290 5347 subq.w D7, 1
label00000292:
00000292 4A47 tst.w D7
00000294 6EE6 bgt -0x18 /* 0000027C */
label00000296:
00000296 4CEE 1080 FFF8 movem.l D7,A4, [A6 - 0x8]
0000029C 4E5E unlink A6
0000029E 4E75 rts
export_213:
fn000002A0:
000002A0 4E56 FCF2 link A6, -0x030E
000002A4 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
000002A8 47EE FDF8 lea.l A3, [A6 - 0x208]
000002AC 49EE FEF8 lea.l A4, [A6 - 0x108]
000002B0 42AE FCF4 clr.l [A6 - 0x30C]
000002B4 426E FCF2 clr.w [A6 - 0x30E]
000002B8 422E FCF8 clr.b [A6 - 0x308]
000002BC 4A6E 000E tst.w [A6 + 0xE]
000002C0 6716 beq +0x18 /* 000002D8 */
000002C2 2D78 0AB4 FFFC move.l [A6 - 0x4], [0x00000AB4 /* TEScrpHandle */]
000002C8 3E38 0AB0 move.w D7, [0x00000AB0 /* TEScrpLength */]
000002CC 2F2E FFFC move.l -[A7], [A6 - 0x4]
000002D0 486E FCF8 pea.l [A6 - 0x308]
000002D4 A990 syscall GetDialogItemText/GetIText
000002D6 600C bra +0xE /* 000002E4 */
label000002D8:
000002D8 1D7C 0001 FCF8 move.b [A6 - 0x308], 0x1
000002DE 1D6E 000B FCF9 move.b [A6 - 0x307], [A6 + 0xB]
label000002E4:
000002E4 558F subq.l A7, 2
000002E6 486E FCF8 pea.l [A6 - 0x308]
000002EA A88C syscall StringWidth
000002EC 3D5F FCF2 move.w [A6 - 0x30E], [A7]+
000002F0 4213 clr.b [A3]
000002F2 598F subq.l A7, 4
000002F4 2F2E 0014 move.l -[A7], [A6 + 0x14]
000002F8 A9CB syscall TEGetText
000002FA 2D57 FFF8 move.l [A6 - 0x8], [A7]
000002FE 2F0B move.l -[A7], A3
00000300 A990 syscall GetDialogItemText/GetIText
00000302 558F subq.l A7, 2
00000304 2F0B move.l -[A7], A3
00000306 A88C syscall StringWidth
00000308 3D5F FCF6 move.w [A6 - 0x30A], [A7]+
0000030C 4214 clr.b [A4]
0000030E 206E 0014 movea.l A0, [A6 + 0x14]
00000312 2050 movea.l A0, [A0]
00000314 3828 0020 move.w D4, [A0 + 0x20]
00000318 206E 0014 movea.l A0, [A6 + 0x14]
0000031C 2050 movea.l A0, [A0]
0000031E 3A28 0022 move.w D5, [A0 + 0x22]
00000322 B845 cmp.w D4, D5
00000324 6C2C bge +0x2E /* 00000352 */
00000326 3E04 move.w D7, D4
00000328 5247 addq.w D7, 1
0000032A 7C01 moveq.l D6, 0x01
0000032C 600A bra +0xC /* 00000338 */
label0000032E:
0000032E 19B3 7000 6000 move.b [A4 + D6.w], [A3 + D7.w]
00000334 5247 addq.w D7, 1
00000336 5246 addq.w D6, 1
label00000338:
00000338 BA47 cmp.w D5, D7
0000033A 6CF2 bge -0xC /* 0000032E */
0000033C 48C5 ext.l D5
0000033E 48C4 ext.l D4
00000340 2005 move.l D0, D5
00000342 9084 sub.l D0, D4
00000344 1880 move.b [A4], D0
00000346 558F subq.l A7, 2
00000348 2F0C move.l -[A7], A4
0000034A A88C syscall StringWidth
0000034C 3D5F FCF4 move.w [A6 - 0x30C], [A7]+
00000350 6004 bra +0x6 /* 00000356 */
label00000352:
00000352 426E FCF4 clr.w [A6 - 0x30C]
label00000356:
00000356 302E FCF2 move.w D0, [A6 - 0x30E]
0000035A 48C0 ext.l D0
0000035C 322E FCF6 move.w D1, [A6 - 0x30A]
00000360 48C1 ext.l D1
00000362 D280 add.l D1, D0
00000364 3E01 move.w D7, D1
00000366 9E6E FCF4 sub.w D7, [A6 - 0x30C]
0000036A BE6E 0012 cmp.w D7, [A6 + 0x12]
0000036E 5FC0 sle D0
00000370 0240 0001 andi.w D0, 0x1
00000374 4CEE 18F0 FCDA movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x326]
0000037A 4E5E unlink A6
0000037C 4E75 rts
export_214:
0000037E 4E56 FFEE link A6, -0x0012
00000382 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00000386 266E 000C movea.l A3, [A6 + 0xC]
0000038A 7A19 moveq.l D5, 0x19
0000038C 206E 0010 movea.l A0, [A6 + 0x10]
00000390 2868 00A0 movea.l A4, [A0 + 0xA0]
00000394 2D54 FFEE move.l [A6 - 0x12], [A4]
00000398 2054 movea.l A0, [A4]
0000039A 3028 003C move.w D0, [A0 + 0x3C]
0000039E 48C0 ext.l D0
000003A0 3228 0022 move.w D1, [A0 + 0x22]
000003A4 48C1 ext.l D1
000003A6 3428 0020 move.w D2, [A0 + 0x20]
000003AA 48C2 ext.l D2
000003AC 9282 sub.l D1, D2
000003AE 2C00 move.l D6, D0
000003B0 9C81 sub.l D6, D1
000003B2 7003 moveq.l D0, 0x03
000003B4 B053 cmp.w D0, [A3]
000003B6 6708 beq +0xA /* 000003C0 */
000003B8 7005 moveq.l D0, 0x05
000003BA B053 cmp.w D0, [A3]
000003BC 6600 00A8 bne +0xAA /* 00000466 */
label000003C0:
000003C0 2E3C 0000 00FF move.l D7, 0xFF
000003C6 CEAB 0002 and.l D7, [A3 + 0x2]
000003CA 0C07 001B cmpi.b D7, 0x1B
000003CE 6706 beq +0x8 /* 000003D6 */
000003D0 0C07 007F cmpi.b D7, 0x7F
000003D4 6602 bne +0x4 /* 000003D8 */
label000003D6:
000003D6 7E08 moveq.l D7, 0x08
label000003D8:
000003D8 0C07 000D cmpi.b D7, 0xD /* '\r' */
000003DC 6706 beq +0x8 /* 000003E4 */
000003DE 0C07 0003 cmpi.b D7, 0x3
000003E2 6632 bne +0x34 /* 00000416 */
label000003E4:
000003E4 206E 0008 movea.l A0, [A6 + 0x8]
000003E8 30BC 0001 move.w [A0], 0x1
000003EC 2F2E 0010 move.l -[A7], [A6 + 0x10]
000003F0 7001 moveq.l D0, 0x01
000003F2 3F00 move.w -[A7], D0
000003F4 486E FFF2 pea.l [A6 - 0xE]
000003F8 486E FFF4 pea.l [A6 - 0xC]
000003FC 486E FFF8 pea.l [A6 - 0x8]
00000400 A98D syscall GetDialogItem/GetDItem
00000402 266E FFF4 movea.l A3, [A6 - 0xC]
00000406 2F0B move.l -[A7], A3
00000408 700A moveq.l D0, 0x0A
0000040A 3F00 move.w -[A7], D0
0000040C A95D syscall HiliteControl
0000040E 1D7C 0001 0014 move.b [A6 + 0x14], 0x1
00000414 6054 bra +0x56 /* 0000046A */
label00000416:
00000416 7000 moveq.l D0, 0x00
00000418 3006 move.w D0, D6
0000041A 48C5 ext.l D5
0000041C BA80 cmp.l D5, D0
0000041E 6F20 ble +0x22 /* 00000440 */
00000420 2F0C move.l -[A7], A4
00000422 302D D898 move.w D0, [A5 - 0x2768]
00000426 48C0 ext.l D0
00000428 2F00 move.l -[A7], D0
0000042A 7000 moveq.l D0, 0x00
0000042C 2F00 move.l -[A7], D0
0000042E 4887 ext.w D7
00000430 48C7 ext.l D7
00000432 2F07 move.l -[A7], D7
00000434 4EBA FE6A jsr [PC - 0x196 /* 000002A0 */]
00000438 4A40 tst.w D0
0000043A 4FEF 0010 lea.l A7, [A7 + 0x10]
0000043E 6626 bne +0x28 /* 00000466 */
label00000440:
00000440 0C07 0008 cmpi.b D7, 0x8
00000444 6720 beq +0x22 /* 00000466 */
00000446 0C07 001C cmpi.b D7, 0x1C
0000044A 6D06 blt +0x8 /* 00000452 */
0000044C 0C07 001D cmpi.b D7, 0x1D
00000450 6F14 ble +0x16 /* 00000466 */
label00000452:
00000452 7001 moveq.l D0, 0x01
00000454 3F00 move.w -[A7], D0
00000456 A9C8 syscall SysBeep
00000458 206E 0008 movea.l A0, [A6 + 0x8]
0000045C 4250 clr.w [A0]
0000045E 1D7C 0001 0014 move.b [A6 + 0x14], 0x1
00000464 6004 bra +0x6 /* 0000046A */
label00000466:
00000466 422E 0014 clr.b [A6 + 0x14]
label0000046A:
0000046A 4CEE 18E0 FFDA movem.l D5,D6,D7,A3,A4, [A6 - 0x26]
00000470 4E5E unlink A6
00000472 205F movea.l A0, [A7]+
00000474 4FEF 000C lea.l A7, [A7 + 0xC]
00000478 4ED0 jmp [A0]